package com.example.appstudy2405.dto;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.appstudy2405.R;

public class ViewHoldRCDto extends RecyclerView.ViewHolder {
    public ImageView iconIv;
    public TextView nameTv, introduceTv;

    public ViewHoldRCDto(@NonNull View itemView) {
        super(itemView);
        iconIv = itemView.findViewById(R.id.iv);
        nameTv = itemView.findViewById(R.id.tv_title);
        introduceTv = itemView.findViewById(R.id.tv_price);
        TextView tvTitleC = itemView.findViewById(R.id.tv_title_c);
        tvTitleC.setText("物品名");
        TextView tvPriceC = itemView.findViewById(R.id.tv_price_t);
        tvPriceC.setText("简介");
    }
}
